/*
 * Copyright (c) 2017, dhl and/or its affiliates. All rights reserved.
 * dhl PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package com.xd.cloud.entity.core;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xd.cloud.entity.BaseEntity;

/**
 * 机构、公司
 * 
 * @author dhl
 * @since V1.0
 * 
 */
@Entity
@Table(name = "sys_company")
public class Org extends BaseEntity {

	//公司名称
	private String name;
	//公司简称
	private String abbreviation;
	//上级公司id
	private int pid;
	//法人
    private String legal;
    //联系人
	private String linkman;
	//联系电话
	private String linkphone;
	//所属行业,0为其他领域,1为物流运输,2为车辆租赁,3为公交客运,4为出租汽车,5为混凝土车,6为特种车辆,7为工程机械
	private int industrytype;
	//营业执照编号
	private String businesslicensenum;    
	//公司注册资金
	private String registeredcapital;
	//公司地址
	private String address;
	//公司简介
	private String introduction;
	//备注
	private String remark;
	//创建时间
	private String createtime;
	//修改时间
	private String updatetime;
	//使用状态,0为禁用或停用,1为正常,2为删除
	private int status;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAbbreviation() {
		return abbreviation;
	}
	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getLegal() {
		return legal;
	}
	public void setLegal(String legal) {
		this.legal = legal;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getLinkphone() {
		return linkphone;
	}
	public void setLinkphone(String linkphone) {
		this.linkphone = linkphone;
	}
	public int getIndustrytype() {
		return industrytype;
	}
	public void setIndustrytype(int industrytype) {
		this.industrytype = industrytype;
	}
	public String getBusinesslicensenum() {
		return businesslicensenum;
	}
	public void setBusinesslicensenum(String businesslicensenum) {
		this.businesslicensenum = businesslicensenum;
	}
	public String getRegisteredcapital() {
		return registeredcapital;
	}
	public void setRegisteredcapital(String registeredcapital) {
		this.registeredcapital = registeredcapital;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

}
